package olga.gorbatiuk.record.comparators;

import java.util.Comparator;

import olga.gorbatiuk.record.Record;

public class ByDateComparator implements Comparator<Record> {

    @Override
    public int compare(Record o1, Record o2) {
	return o1.getTime().compareTo(o2.getTime());
    }

}
